package com.trsj.lnsj.entity;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import java.awt.*;

/**
 * @Package:com.trsj.lnsj.entity
 * @Auther: Longky
 * @Date: 2018/12/31
 * @Description:
 */
public interface CommentRepo extends JpaRepository<CommentDTO,Long> {
    Page<CommentDTO> findByActivityId(Long activityId, Pageable pageable);
}
